﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _022_第二十二章_桥接模式
{
    class Program
    {
        static void Main(string[] args)
        {
            OPPOCellPhone myPhone = new OPPOCellPhone();
            myPhone.SetSoftWare(new WeChat());
            myPhone.Run();

            HonorCellPhone glfdPhone = new HonorCellPhone();
            glfdPhone.SetSoftWare(new LOLGame());
            glfdPhone.Run();

            XiaoMiCellPhone xiaomi = new XiaoMiCellPhone();
            xiaomi.SetSoftWare(new LOLGame());
            xiaomi.Run();

            Console.ReadKey();
        }
    }
}
